/**
*  
* @Function 数据采集服务
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.service    
* @FileName DataCollectionService.java    
* @Date 2018年6月22日下午12:02:28
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/
package com.py.credit.service;

import java.util.List;
import java.util.Map;

import com.py.credit.entity.SysUser;
import com.py.framework.core.common.Page;

/**
 * 
 * @Function 数据采集服务
 * @ClassName DataCollectionService
 * @Date 2018年6月22日 下午12:02:28
 * @Author Min DongXv
 * 
 */
public interface DataCollectionService {

	/**
	 *
	 * @Function 获取数据采集列表
	 * @FileName BatchLogServiceImpl.java
	 * @MethodName getResourceListByConditionForPage
	 * @param userInfo
	 *            用户信息实体
	 * @param isFinish
	 *            是否完成 1:已完成 0:未完成
	 * @param rootId
	 *            库ID
	 * @param condition
	 *            普通查询条件
	 * @param page
	 *            分页
	 * @return
	 * @Date 2018年6月22日 上午11:38:28
	 * @Author Min DongXv
	 *
	 */
	List<Map<String, Object>> getResourceListByConditionForPage(SysUser userInfo, Integer isFinish, Integer rootId,
			String condition, Page page, List<String> columns, String[] additionalColumns,String rolename);

	List<Map<String, Object>> getDoubleResourceListByConditionForPage(SysUser userInfo, Integer isFinish, Integer rootId,
																String condition, Page page, List<String> columns, String[] additionalColumns,String rolename);
	List<Map<String, Object>> getDoubleFrResourceListByConditionForPage(SysUser userInfo, Integer isFinish, Integer rootId,
																	  String condition, Page page, List<String> columns, String[] additionalColumns,String rolename);

	List<Map<String, Object>> getTcountGroupByDept();

	List<Map<String, Object>> getTenResourceListByConditionForPage(SysUser userInfo, Integer isFinish, Integer rootId,
			String condition, Page page, List<String> showColumns,  String[] additionalColumns,String rolename);
}
